import './assets/main.css'
import 'normalize.css/normalize.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

const app = createApp(App)
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import i18n from './i18n'
import './mock/index.js'
import * as ElIcons from "@element-plus/icons-vue";
import CmTable from "@/components/CmTable.vue";

for(const [key,component] of Object.entries(ElementPlusIconsVue)){
    app.component[key,component]
}
for (const name in ElIcons) {
    app.component(name, ElIcons[name]);
}
app.component(CmTable.name, CmTable);
app.use(router)
app.use(store)
app.use(i18n)
app.mount('#app')


